package com.wanxi.coupon.api.result;

/**
 * ClassName: EnumType
 * Description: 类型枚举
 * date: 2022/1/10 12:35
 *
 * @author lxl
 * @version 1.0
 * @since JDK 1.8
 */
public enum EnumType {

     FULL_REDUCTION(0,"满减"),
    DISCOUNT(1,"折扣"),

    ;

    private Integer code;
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    EnumType(Integer code, String type) {
        this.code = code;
        this.type = type;
    }
}
